package com.sfh.cpc.home.model.request;

import com.sfh.cpc.com.entity.EMass;
import com.sfh.cpc.com.entity.RspBase;
import com.sfh.cpc.com.req.ReqBase;

import java.util.List;

/**
 * 功能描述:社团
 *
 * @author SunFeihu 孙飞虎
 * @date 2019/5/13
 */
public class ReqQueryHomeMass extends ReqBase<RspBase<List<EMass>>> {

    public static final int TYPE_A = 1;
    public static final int TYPE_B = 2;
    public static final int TYPE_C = 3;
    int index = 0;
    public ReqQueryHomeMass(int index,int type) {
        //1= 推荐社团 ,2 = 最新社团  ,3=VIP 社团 9
        super(type == 1 ? "mass/queryHomeRecomMass" :
                type == 2 ? "mass/queryHomeNewMass" :
                       "mass/queryHomeVIPMass"
        );
        this.index =index;
    }
}
